unless (open FH, "-|") {

  exec "ffmpeg -y -i /var/shandiangou.mov kkk.mp4 -acodec copy -vcodec copy -f mp4 2>&1|tr '\r' '\n'";        # 用exec执行另一个程序
  exit;
}
while (<FH>) {

print $_;
}
close FH;
